﻿using System;

namespace Honeycomb.Protocol.Messages
{
    /// <summary>
    /// Protocol message sent from client when the client authenticates with the server.
    /// 
    /// Allowed to be sent as the first message to the server after the client has connected.
    /// </summary>
    [Serializable]
    class AuthenticateRequest : IMessage
    {
        /// <summary>
        /// Username.
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// Password.
        /// </summary>
        public string Password { get; set; }
    }
}
